package com.springboot.demo;

import com.springboot.demo.module.entity.TSysUser;
import com.springboot.demo.module.service.IUserService;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * 测试
 *
 * @author Francis
 * @version 1.0
 * @date 2019-07-05 17:38
 */
public class Demo4 extends DemoApplicationTests{

    @Autowired
    IUserService userService;

    @Test
    public void method1(){
        List<TSysUser> list = userService.list(null);
        this.toString(list);
    }
}
